<script setup>
import Demo21 from "./Demo21.vue"
import { inject,provide } from "vue";
const couA=inject("one")
const couB=inject("imsb",'default value ')
provide("two",'我来截胡啦');
</script>
<template>
    <h1>第二层</h1>
    <p>我从爷爷那传来了{{couA}}</p>
    <p>couB:{{couB}}</p>
    <Demo21/>
</template>
<style></style>